/**
 * ...
 * @author Franco Ponticelli
 */

package uform.property;

class MonadicProperty extends Property<Array<Dynamic> -> Dynamic>, implements IMonadicProperty
{
	public function execute(?args : Array<Dynamic>) : Dynamic
	{
		if (!isNull())
			return Reflect.callMethod(this, get(), null == args ? args : []);
		else
			return null;
	}
}